package com.shunli.cterminal.model.req;

import com.examples.core.req.ExamBaseReq;
import com.shunli.cterminal.model.code.CterminalResultCode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName: TemplatePreviewQueryReq
 * @Description: TODO
 * @Author: DAIYALU
 * @Date: 2024/11/13
 * @Version: 1.0
 */
public class TemplatePreviewQueryReq extends ExamBaseReq<TemplatePreviewQueryReq.Body> {

    @Data
    @Schema(name = "TemplatePreviewQueryReqBody", title = "模板卡片列表请求体")
    public static class Body implements Serializable{

        private static final long serialVersionUID = -7323206986979192506L;

        @NotNull(message = CterminalResultCode.PARAMS_EMPTY)
        private Long id;

        private Boolean userFlag;
    }
}
